﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.IO;

namespace BulldogCMS.Core.MVC
{
    public class ModuleResourceVirtualFile : VirtualFile
    {
        private string m_path;
        private Stream _stream;

        public ModuleResourceVirtualFile(Stream stream, string streamPath) : base(streamPath)
        {
            m_path = streamPath;
            this._stream = stream;
        }

        public override System.IO.Stream Open() {
            return this._stream;
        } 

    }
}